<?php
// $Id: forums.tpl.php,v 1.4 2007/08/07 08:39:35 goba Exp $

/**
 * @file forums.tpl.php
 * Default theme implementation to display a forum which may contain forum
 * containers as well as forum topics.
 *
 * Variables available:
 * - $links: An array of links that allow a user to post new forum topics.
 *   It may also contain a string telling a user they must log in in order
 *   to post.
 * - $forums: The forums to display (as processed by forum-list.tpl.php)
 * - $topics: The topics to display (as processed by forum-topic-list.tpl.php)
 * - $forums_defined: A flag to indicate that the forums are configured.
 *
 * @see template_preprocess_forums()
 * @see theme_forums()
 */

print(theme("pager"));

print theme("table",
  array(
	  array('data'=>"genderId"),
	  array('data'=>"raceId"),
	  array('data'=>"classId"),
	  array('data'=>"Name",'field'=>'name'),
	  array('data'=>"Rank",'field'=>'rank','sort'=>'asc'),
	  array('data'=>"Class",'field'=>'class'),
	  array('data'=>"Gender"),
	  array('data'=>"Race"),
	),$guild->members);

?>
<pre>
<? print_r($guild); ?>
</pre>
